<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" name="viewport" />
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<title>用户登录 -{$site_name}</title>
{include file="user_include" /}
</head>
<body class="user_body">
<div class="container">
  <div class="row">
    <!--模块开始-->
    <div class="user-box modal-dialog clearfix">
    <div class="user_title"><h2 class="text-color">用户登录</h2><span class="pull-right"><span class="hidden-xs">还没有{$site_name}会员帐号？请</span><a href="{:zanpian_user_url('user/reg/index')}" target="_self">注册帐号</a></span></div>
      <div class="col-md-9 col-md-offset-1">
      <h4 class="text-center mt20 mb20">欢迎回到{$site_name}</h4>
        <div class="col-md-12">
          <form class="form-horizontal" id="login-form"  method="post" role="form" action="{:zanpian_user_url('user/login/index')}" onSubmit="return false;">
            <div class="form-group"> <span for="user_name" class="col-md-3 control-label hidden-xs pr-0">用户:</span>
              <div class="col-md-8">
                <input class="form-control" name="user_name" id="user_name" type="text" placeholder="您的帐号:邮箱或手机" required>
              </div>
            </div>
            <div class="form-group"> <span for="user_password" class="col-md-3 control-label hidden-xs pr-0">密码:</span>
              <div class="col-md-8">
                <input class="form-control" name="user_password" id="user_password" type="password" placeholder="您的密码" required>
              </div>
            </div>
            {notempty name="GLOBALS['config']['user']['sys']['user_verify']"}
            <div class="form-group"> <span for="user_email" class="col-md-3 control-label hidden-xs pr-0">验证码:</span>
              <div class="col-md-4 col-sm-4 col-xs-6">
                <input class="form-control txt"  data="validate" name="validate" type="text" placeholder="验证码" required>
              </div>
              <div class="col-md-3 col-sm-4 col-xs-2 p-0"><span id="validate-zanpian"><label><img class="validate-img" src="{:url('home/verify/index',array('t'=>time()))}"></label></span></div>
            </div>
            {/notempty}
            <div class="form-group">
              <div class="col-md-3 hidden-xs"></div>
              <div class="col-md-8">
                <input type="hidden" name="jump" value="1"/>
                <input type="checkbox" name="cookietime" id="cookietime" checked="checked" value="2592000" />
                <input  type="hidden" name="dosubmit" id="dosubmit" value="1">记住我的登录</label>
                <span><a rel="nofollow" href="{:zanpian_user_url('user/login/forgetpwd')}" target="_self"> 忘记密码？</a></span> </div>
            </div>
            <div class="form-group">
              <div class="col-md-3 hidden-xs"></div>
              <div class="col-md-8 col-xs-12">
                <button type="button" class="btn btn-success btn-block" id="login-submit">登录</button>
              </div>
            </div>
          </form>
          <div class="form-group">
            <div class="col-md-3 hidden-xs"></div>
            <div class="col-md-8 col-xs-12 p-0">
              <div class="login-ico">
          <a class="qq pull-left" rel="nofollow"  {notempty name="GLOBALS['config']['user']['api']['qq_appid']"}href="{:zanpian_user_url('user/snslogin/qq')}" target="_self"{/notempty}><i class="icon iconfont">&#xe73e;</i></a>

          <a class="weixin" rel="nofollow" {notempty name="GLOBALS['config']['user']['api']['weixin_appid']"}href="{:zanpian_user_url('user/snslogin/weiqrcode')}" target="_self"{/notempty}><i class="icon iconfont">&#xe73b;</i></a>
          
          <a class="weibo pull-right" rel="nofollow" {notempty name="GLOBALS['config']['user']['api']['weibo_appid']"}href="{:zanpian_user_url('user/snslogin/weibo')}" target="_self"{/notempty}><i class="icon iconfont">&#xe73c;</i></a>
               </div>
            </div>
          </div>
        </div>     
      </div> 
      <div class="clearfix"></div>
     <h5 class="col-md-12 text-center mt20 mb20"><a class="text-color" href="{$site_url}" target="_self">返回首页</a><a class="text-color" href="{:zanpian_user_url('user/login/forgetpwd')}" target="_self">忘记密码</a><a class="text-color" href="{:zanpian_user_url('user/reg/index')}" target="_self">帐号注册</a> </h5>             
    </div>    
  </div>
  </div>
{include file="user_footer" /}
</body>
</html>